package com.raidan.dclog.core.parser.text;

/**
 * 
 * @author raidan
 */
public class UploadsTextParser extends DownloadsTextParser {

	@Override
	protected boolean isDownload() {
		return false;
	}

	@Override
	public String getName() {
		return "Uploads logs";
	}

	@Override
	protected String getFileName() {
		return "Uploads.log";
	}

	@Override
	protected String getPattern() {
		return ".*(\\d\\d\\d\\d-\\d\\d-\\d\\d \\d\\d:\\d\\d): (.*) (?:(?:Отдано)|(?:uploaded to)) ([^ ]+) \\(\\), (-?\\d+) \\((\\d*)\\), ([\\d,]+) ([^,]+), ([\\d:]*)";
	}
}
